﻿using System;
namespace ZG_member.Model
{
	/// <summary>
	/// memberInfo:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class memberInfo
	{
		public memberInfo()
		{}
		#region Model
		private int _id;
		private string _memberid;
		private string _membercardid;
		private string _membername;
		private bool? _sex;
		private string _mobile;
		private string _tel;
		private string _email;
		private string _idnumber;
		private DateTime? _birthday;
		private int? _cardtype;
		private decimal? _balance;
		private int? _point;
		private int? _status;
		private DateTime? _createdate;
		private DateTime? _expiresdate;
		private decimal? _consume;
		private string _memo;
        private string _pwd;
        private string _GenderStr;
        private string _Marriage;
        private string _Zip;
        public string _Address;
        public int _AreasID;
        public string _MemberType;
        public string _MemberId;
        public string _picUrl;

        /// <summary>
        /// 职业
        /// </summary>
        public string Profession { get; set; }
        /// <summary>
        /// 爱好
        /// </summary>
        public string hobby { get; set; }
        /// <summary>
        /// QQ
        /// </summary>
        public string QQ { get; set; }

        /// <summary>
        /// 子女
        /// </summary>
        public string Child { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 公开课老师
        /// </summary>
        public string OpenTeacher { get; set; }

        /// <summary>
        /// 会员编号;
        /// </summary>
        public string MemberId
        {
            set { _memberid = value; }
            get { return _MemberId; }
        }

        /// <summary>
        /// 用户类型（团购客户，个人收藏...）
        /// </summary>
        public string MemberType
        {
            set { _MemberType = value; }
            get { return _MemberType; }
        }

        /// <summary>
        /// 区域编号
        /// </summary>
        public int AreasID
        {
            set { _AreasID = value; }
            get { return _AreasID; }
        }
        /// <summary>
        /// 通讯地址
        /// </summary>
        public string Address
        {
            set { _Address = value; }
            get { return _Address; }
        }
        /// <summary>
        /// 邮政编码
        /// </summary>
        public string Zip
        {
            set { _Zip = value; }
            get { return _Zip; }
        }
        /// <summary>
        /// 婚姻状况
        /// </summary>
        public string Marriage
        {
            set { _Marriage = value; }
            get { return _Marriage; }
        }
        //private string _Status;

        //public string Status
        //{
        //    set { _Status = value; }
        //    get{return _Status;}
        //}
        
        /// <summary>
        /// 性别String
        /// </summary>
        public string Gender
        {
            set { _GenderStr = value; }
            get { return _GenderStr; }
        }

  
		/// <summary>
		/// 
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 会员编号
		/// </summary>
		public string memberId
		{
			set{ _memberid=value;}
			get{return _memberid;}
		}
		/// <summary>
		/// 会员卡号
		/// </summary>
		public string memberCardId
		{
			set{ _membercardid=value;}
			get{return _membercardid;}
		}
		/// <summary>
		/// 会员姓名
		/// </summary>
		public string memberName
		{
			set{ _membername=value;}
			get{return _membername;}
		}
		/// <summary>
		/// 性别
		/// </summary>
        /// 
        public string sexStr { get; set; }
        public bool? sex
		{
			set{ _sex=value;}
			get{return _sex;}
		}
		/// <summary>
		/// 手机
		/// </summary>
		public string mobile
		{
			set{ _mobile=value;}
			get{return _mobile;}
		}
		/// <summary>
		/// 电话
		/// </summary>
		public string Tel
		{
			set{ _tel=value;}
			get{return _tel;}
		}
		/// <summary>
		/// Email
		/// </summary>
		public string Email
		{
			set{ _email=value;}
			get{return _email;}
		}
		/// <summary>
		/// 身份证
		/// </summary>
		public string IDNumber
		{
			set{ _idnumber=value;}
			get{return _idnumber;}
		}
		/// <summary>
		/// 生日
		/// </summary>
		public DateTime? birthDay
		{
			set{ _birthday=value;}
			get{return _birthday;}
		}
		/// <summary>
		/// 卡类型
		/// </summary>
        /// 
        public string cardTypeStr { get; set; }
        public int? cardType
		{
			set{ _cardtype=value;}
			get{return _cardtype;}
		}
		/// <summary>
		/// 卡内余额
		/// </summary>
		public decimal? Balance
		{
			set{ _balance=value;}
			get{return _balance;}
		}
		/// <summary>
		/// 积分
		/// </summary>
		public int? point
		{
			set{ _point=value;}
			get{return _point;}
		}
		/// <summary>
		/// 卡状态
		/// </summary>

        public string statusStr { get; set; }
        public int? status
		{
			set{ _status=value;}
			get{return _status;}
		}
		/// <summary>
		/// 登记日期
		/// </summary>
		public DateTime? createDate
		{
			set{ _createdate=value;}
			get{return _createdate;}
		}
		/// <summary>
		/// 过期时间
		/// </summary>
		public DateTime? expiresDate
		{
			set{ _expiresdate=value;}
			get{return _expiresdate;}
		}
		/// <summary>
		/// 消费总额
		/// </summary>
		public decimal? consume
		{
			set{ _consume=value;}
			get{return _consume;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string memo
		{
			set{ _memo=value;}
			get{return _memo;}
		}
        public string pwd
        {
            set { _pwd = value; }
            get { return _pwd; }
          
        }

        /// <summary>
        /// 照片
        /// </summary>
        public string picUrl
        {
            set { _picUrl = value; }
            get { return _picUrl; }
          
        }
		#endregion Model

	}
}

